From c17ee5b246feb25e0f504041895fa10fcf9fdd24 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 2 May 2004 17:22:08 +0000 Subject: [PATCH] (compilation-start): In the no-async-subprocesses branch, fontify the buffer explicitly after the process exits. --- lisp/progmodes/compile.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 376136e33ae..da05a7ff8bb 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -959,6 +959,10 @@ exited abnormally with code %d\n" (concat status "\n"))) (t (compilation-handle-exit 'bizarre status status)))) + ;; Without async subprocesses, the buffer is not yet + ;; fontified, so fontify it now. + (let ((font-lock-verbose nil)) ; shut up font-lock messages + (font-lock-fontify-buffer)) (message "Executing `%s'...done" command))) (if (buffer-local-value 'compilation-scroll-output outbuf) (save-selected-window -- 2.30.2